import request from '@/utils/request'

// 用户信息
export function userInfo(data) {
  return request({
    url: '/user/users/getUserInfos',
    method: 'post',
    data
  })
}
// 特权列表
export function queryPrivilegedMemberInfoList(data) {
  return request({
    url: '/user/users/queryPrivilegedMemberInfoList',
    method: 'post',
    data
  })
}
// 修改信息
export function editUserBaseInfo(data) {
  return request({
    url: '/user/users/editUserBaseInfo',
    method: 'post',
    data
  })
}
// 优惠券
export function queryUserCouponsList(data) {
  return request({
    url: '/user/users/queryUserCouponsList',
    method: 'post',
    data
  })
}
// 积分
export function queryGrowthOrPointDeatil(data) {
  return request({
    url: '/user/users/queryGrowthOrPointDeatil',
    method: 'post',
    data
  })
}
// 反馈
export function listFeedBackType(data) {
  return request({
    url: '/user/users/listFeedBackType',
    method: 'post',
    data
  })
}
// 提交反馈
export function saveFeedback(data) {
  return request({
    url: '/user/users/saveFeedback',
    method: 'post',
    data
  })
}
// 客服中心
export function listProblemType(data) {
  return request({
    url: '/user/problem/listProblemType',
    method: 'post',
    data
  })
}
// 关注商家
export function queryCareShopList(data) {
  return request({
    url: '/user/users/queryCareShopList',
    method: 'post',
    data
  })
}

// 关注品牌
export function queryCareBrandList(data) {
  return request({
    url: '/user/users/queryCareBrandList',
    method: 'post',
    data
  })
}

// 地址列表
export function queryUserAddressList(data) {
  return request({
    url: '/user/users/queryUserAddressList',
    method: 'post',
    data
  })
}
// 修改地址
export function editOrSaveUserAddress(data) {
  return request({
    url: '/user/users/editOrSaveUserAddress',
    method: 'post',
    data
  })
}
// 足迹列表
export function queryFootprintList(data) {
  return request({
    url: '/user/users/queryFootprintList',
    method: 'post',
    data
  })
}
// 删除足迹
export function deleteBatchFootprint(data) {
  return request({
    url: '/user/users/deleteBatchFootprint',
    method: 'post',
    data
  })
}
// 查询成长等级列表展示
export function queryGrowthLevelList(data) {
  return request({
    url: '/user/users/queryGrowthLevelList',
    method: 'post',
    data
  })
}
// 查询成长等级权益详情
export function queryGrowthLevelDetailInfo(data) {
  return request({
    url: '/user/users/queryGrowthLevelDetailInfo',
    method: 'post',
    data
  })
}
// 获取用户收藏商品ID集合
export function getCollectGoodsIds(data) {
  return request({
    url: '/user/users/getCollectGoodsIds',
    method: 'post',
    data
  })
}

// 查询尊享会员展示信息
export function queryPrivilegedMemberInfos(data) {
  return request({
    url: '/user/users/queryPrivilegedMemberInfos',
    method: 'post',
    data
  })
}

// 查询通知公告
export function getNoticePage(data) {
  return request({
    url: '/user/notice/getNoticePage',
    method: 'post',
    data
  })
}
